package com.sta.oldman.model.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author: LunBoWang
 * @description: 用户名登录请求类
 * @date: 2025/7/14 下午4:13
 * @version: 1.0
 */
@Data
public class LoginByUsernameReq {
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码不能为空")
    private String password;
}
